label: Actually mark visited labels as visited
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Jan 2012 04:17:46 +0000 (05:17 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Jan 2012 04:23:43 +0000 (05:23 +0100)
A recalculate will clear the labels and compute them again, which will
clear the information if something was visited...

gtk/gtklabel.c

index 9597f565a5025f06c95970131e7d4b6caa324387..098e069f3f355a14efec9e3d1f9987a5def9f2b3 100644 (file)
@@ -6314,7 +6314,7 @@ emit_activate_link (GtkLabel     *label,
     {
       link->visited = TRUE;
       /* FIXME: shouldn't have to redo everything here */
-      gtk_label_recalculate (label);
+      gtk_label_clear_layout (label);
     }
 }